<?php

/*
获取本用户的其他好友输入状态
*/

include 'include/init.php';

set_time_limit(0);

$uid=$_GET['u'];

$usr=new userModel();



while(true)
{
	$iswriting=$usr->getWrite($uid);
	
	if($iswriting)
	{
		echo $iswriting;
		exit;
	}
	sleep(1);
}